﻿using System;
using System.ComponentModel;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using LeadThing.AbpZeroTemplate.WorkFlow_Runs;

namespace LeadThing.AbpZeroTemplate.WorkFlow_Runs.Dtos
{
    /// <summary>
    /// 流程实例列表Dto
    /// </summary>
    [AutoMapFrom(typeof(WorkFlow_Run))]
    public class WorkFlow_RunListDto : EntityDto<long>
    {
        /// <summary>
        /// 流程ID
        /// </summary>
        [DisplayName("流程ID")]
        public int FlowID { get; set; }
        /// <summary>
        /// 关联业务实例ID
        /// </summary>
        [DisplayName("关联业务实例ID")]
        public int DetailID { get; set; }
        /// <summary>
        /// 客户端IP
        /// </summary>
        [DisplayName("客户端IP")]
        public string IP { get; set; }
        /// <summary>
        /// 流转状态0流转中1已办结
        /// </summary>
        [DisplayName("流转状态0流转中1已办结")]
        public int Status { get; set; }
        /// <summary>
        /// 当前节点ID
        /// </summary>
        [DisplayName("当前节点ID")]
        public string CurrentProessID { get; set; }
        /// <summary>
        /// 当前办理人
        /// </summary>
        [DisplayName("当前办理人")]
        public string CurrentUserID { get; set; }
        /// <summary>
        /// 当前办理状态状态0为未接收（默认），1为办理中,2为已转交,3为已结束4为已打回
        /// </summary>
        [DisplayName("当前办理状态状态0为未接收（默认），1为办理中,2为已转交,3为已结束4为已打回")]
        public int CurrentStatus { get; set; }
        /// <summary>
        /// 当前状态名称
        /// </summary>
        [DisplayName("当前状态名称")]
        public string CurrentStatusName { get; set; }
        /// <summary>
        /// 资源ID
        /// </summary>
        [DisplayName("资源ID")]
        public string ResID { get; set; }
        /// <summary>
        /// 是否可用
        /// </summary>
        [DisplayName("是否可用")]
        public bool DelTag { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreationTime { get; set; }

        
    }
}
